/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Core;

import java.util.TimerTask;
import java.util.Calendar;

/**
 *
 * @author localadmin
 */
public class Schedule extends TimerTask
{

    @Override
    public void run() 
    {
        Processor.DateTime.add(Calendar.MINUTE, Configuration.GetInstance().GetTimeScale());
        Processor.GetInstance().InsertData();
    }
    
}
